package com.alex.service;

import com.alex.dao.EmployeeDao;
import com.alex.pojo.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeService {

    @Autowired
    private EmployeeDao employeeDao;

    public Employee get(String id) {
        return employeeDao.getById(id);
    }
}
